package com.ktgj.customer.mapper;

import java.util.List;
import com.ktgj.customer.domain.TravelItineraryInfo;

/**
 * 旅游行程详情Mapper接口
 * 
 * @author ruoyi
 * @date 2021-11-10
 */
public interface TravelItineraryInfoMapper
{
    /**
     * 查询旅游行程详情
     * 
     * @param travelItineraryInfoId 旅游行程详情ID
     * @return 旅游行程详情
     */
    public TravelItineraryInfo selectTravelItineraryInfoById(Long travelItineraryInfoId);

    /**
     * 查询旅游行程详情列表
     * 
     * @param travelItineraryInfo 旅游行程详情
     * @return 旅游行程详情集合
     */
    public List<TravelItineraryInfo> selectTravelItineraryInfoList(TravelItineraryInfo travelItineraryInfo);

    /**
     * 新增旅游行程详情
     * 
     * @param travelItineraryInfo 旅游行程详情
     * @return 结果
     */
    public int insertTravelItineraryInfo(TravelItineraryInfo travelItineraryInfo);

    /**
     * 修改旅游行程详情
     * 
     * @param travelItineraryInfo 旅游行程详情
     * @return 结果
     */
    public int updateTravelItineraryInfo(TravelItineraryInfo travelItineraryInfo);

    /**
     * 删除旅游行程详情
     * 
     * @param travelItineraryInfoId 旅游行程详情ID
     * @return 结果
     */
    public int deleteTravelItineraryInfoById(Long travelItineraryInfoId);
    //根据团行程ID删除行程详情
    public int deleteItineraryInfoByItineraryId(Long travelItineraryId);

    /**
     * 批量删除旅游行程详情
     * 
     * @param travelItineraryInfoIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTravelItineraryInfoByIds(Long[] travelItineraryInfoIds);

    /**
     * 查询指定行程安排的详情信息
     * */
    public List<TravelItineraryInfo> selectTravelItineraryInfo(Long travelItineraryId);
}
